package com.zhongfl.crm.lixiao.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import lombok.Data;
import lombok.ToString;

/**
 * 监控邮件信息
 *
 * @author wang.yuchuan
 * @date 2018/4/9
 */
@Configuration
@ConfigurationProperties(prefix = "mail")
@Data
@ToString
public class MailConfigInfo {

    @Value("${spring.profiles.active}")
    private String activeProfiles;

    /**
     * 收件人列表
     */
    private String[] defaultTo;

}
